Keep journal files compatible with older versions
authorMichael Biebl <biebl@debian.org>
Mon, 17 Aug 2020 20:11:19 +0000 (22:11 +0200)
committerMichael Biebl <biebl@debian.org>
Sun, 15 Aug 2021 19:10:56 +0000 (20:10 +0100)
commitf8ae0c7ab19653d63af72ec745b96a676a0a5b8b
treedf47d4cd171659dda69446383c3dc3cfbdc7caf1
parent854c316c510020398cc63d052db3d85e9e7bf0d5
Keep journal files compatible with older versions

Disable the KEYED-HASH journal feature by default and keep LZ4 (instead
of ZSTD) as default compression for new journal files. Otherwise journal
files are incompatible and can't be read by older journalctl
implementations.

This patch can be dropped in bullseye+1, as journalctl from bullseye
will then be able to read journal files with those features.

Closes: #968055
Gbp-Pq: Topic debian
Gbp-Pq: Name Keep-journal-files-compatible-with-older-versions.patch
src/journal/compress.h
src/journal/journal-file.c